package com.ruoyi.wechat.service;

import com.ruoyi.business.domain.OrderManage;
import org.springframework.scheduling.annotation.Async;

/**
 * 功能描述:   创建一个异步线程的接口
 *
 * @Author wanghc
 * @Date 2022/08/22
 * @return
 */
public interface IAsyncService {

    /**
     * 功能描述:    异步推送抢单消息
     *
     * @Author wanghc
     * @Date 2022/08/22 14:30
     * @param orderManage
     * @return void
     */
    void executeAsyncSendGrabMsg(OrderManage orderManage);

    /**
     * 功能描述:    异步推送接单消息
     *
     * @Author wanghc
     * @Date 2022/08/22 14:30
     * @param orderManage
     * @return void
     */
    void executeAsyncSendReceiveMsg(OrderManage orderManage);

    /**
     * 功能描述:    异步推送取消消息
     *
     * @Author wanghc
     * @Date 2022/08/23 01:48
     * @param orderManage
     * @return void
     */
    void executeAsyncSendCancelMsg(OrderManage orderManage);

    /**
     * 功能描述:    异步推送完工消息
     *
     * @Author wanghc
     * @Date 2022/08/23 01:48
     * @param orderManage
     * @return void
     */
    void executeAsyncSendFinishMsg(OrderManage orderManage);

    /**
     * 运维撤单 推送消息
     * @param orderManage
     */
    void executeAsyncSendRevokeMsg(OrderManage orderManage);
}